import request from '@/utils/request'

// 查询用户实名认证列表
export function listUserRealAuth(query) {
  return request({
    url: '/system/userRealAuth/list',
    method: 'get',
    params: query
  })
}

// 查询用户实名认证详细
export function getUserRealAuth(id) {
  return request({
    url: '/system/userRealAuth/' + id,
    method: 'get'
  })
}

// 新增用户实名认证
export function addUserRealAuth(data) {
  return request({
    url: '/system/userRealAuth',
    method: 'post',
    data: data
  })
}

// 修改用户实名认证
export function updateUserRealAuth(data) {
  return request({
    url: '/system/userRealAuth',
    method: 'put',
    data: data
  })
}

// 删除用户实名认证
export function delUserRealAuth(id) {
  return request({
    url: '/system/userRealAuth/' + id,
    method: 'delete'
  })
}

// 导出用户实名认证
export function exportUserRealAuth(query) {
  return request({
    url: '/system/userRealAuth/export',
    method: 'get',
    params: query
  })
}